package com.bdqn.jpayhymeleaf.service;

import com.bdqn.jpayhymeleaf.entity.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface IUserService {
    public User login(String usrName,String usrPassword);
    public void saveUser(User user);
    public void deleteUser(Long usrId);
    public User getUser(Long usrId);
    public Page<User> findUsers(String usrName, Integer roleId, Pageable pageable);
}
